package com.example.dayu521.msg_sender;

import org.example.dayu521.conf.FeignConf;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
@EnableDiscoveryClient
@EnableFeignClients(defaultConfiguration = FeignConf.FeignInterceptor.class)
public class MsgSenderApplication {

    public static void main(String[] args) {
        SpringApplication.run(MsgSenderApplication.class, args);
    }

}
